package com.ldzg.blockwatcher.risk.dto;

import com.ldzg.blockwatcher.notify.enums.NotifySourceEnum;
import lombok.Builder;
import lombok.Data;

import java.math.BigInteger;

/**
 * @author 18310740596@163.com
 * @version V1.0.0
 * @since 2025-07-05 11:11:28
 */
@Data
@Builder
public class TransactionInfo {

    /**
     * 交易来源
     */
    private NotifySourceEnum source;

    /**
     * 交易 HASH
     */
    private String txHash;

    /**
     * 来源地址
     */
    private String fromAddress;

    /**
     * 到账地址
     */
    private String toAddress;

    /**
     * 交易金额
     */
    private BigInteger amount;

    /**
     * 合约地址
     */
    private String concatAddress;

    /**
     * 原始数据
     */
    private Object raw;
}